<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html>
<head>
<base href="<%=basePath%>">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<title>诊断结果</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
<link rel="stylesheet" href="./css/wx.css" />
<link rel="stylesheet" href="./css/weui.css" />
<link rel="stylesheet" href="./css/example.css" />
<link rel="stylesheet" href="./css/talkReult.css" />
<meta http-equiv="description" content="This is my page">
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=A0YwaB4T30OXQu1KN3RVGiQgnakCvymn"></script>
<script type="text/javascript" src="./js/common.js"></script>
<style type="text/css">
.myhead {
	font-size: 20px;
	text-align: center;
	padding: 10px;
	border: 1px bolid #00fff;
}

.tip {
margin-left: 5%;
margin-right: 5%
}
.weui_extra_area ul li{
list-style:none; /* 将默认的列表符号去掉 */
padding:8px; /* 将默认的内边距去掉 */
float:left; /* 往左浮动 */
height: auto;
}

.medicine{
	/* border: 1px solid #ff0081; */
	display: -webkit-inline-box;
	border-radius: 3px;
	padding: 3px;
	margin: 4px !important;
	background-color: #fff; 
}

.input_style{
	border: 1px solid rgba(3, 169, 244, 0.42);
	background-color: #fff;
	display: inline !important;
	border-radius: 3px;
    height: 30px;
    margin-top: 10px;
}
.medi-s{
	border: 1px solid #3708f1;
    margin-left: 52px;
    border-radius: 2px;
	
}

.medi-l{
    margin-left: 52px;
    border-radius: 2px;
	
}

.mname{
    font-size: 18px;
    color: #4348e6;
}
</style>
</head>
<script type="text/javascript">
var storage = window.localStorage;
var illName = storage.getItem("illName");
var medicines = storage.getItem("medicines");
storage.setItem("askMedicines","");
var assistantExam = storage.getItem("assistantExam");
var symptomsArr = storage.getItem("symptomsArr");
var scheme = storage.getItem("scheme");
var userCode = storage.getItem("primaryRole");
var roleCode = storage.getItem("currentRole");
var suggest = storage.getItem("suggest");
var curAgeFlag = storage.getItem("curAgeFlag");	
var currentName = storage.getItem("currentName");	
var curage = storage.getItem("curage");	
var curSex = storage.getItem("curSex");			
var tabooMedicine = storage.getItem("tabooMedicine");
var pastHistorys = storage.getItem("pastHistorys");
var mediArr = [];	
var bmi;
var json;
var selectData = [];
console.log(medicines);
function getUrlParam(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return  decodeURI(r[2]); return null;
}

$(function(){
	if(userCode=='' || roleCode==''){
		
	}
	$.ajax({
        url: "./user/getBMIRecord.spring",
        data: {
			userCode : userCode,
			roleCode : roleCode
        },
        type: "POST",
        dataType: 'json',
        cache: false,
        success: function (ret) {
        	if(ret.resultCode==0){
        		if(ret.content.userCode==null){
        			showbmiBox();
	        	}else{
					bmi = {
						my_height : ret.content.height,
						bodyWeight : ret.content.bodyWeight
					};
					var BMI = returnBMI(ret.content.height,ret.content.bodyWeight);
	        	}
	        	filling();
        	}else{
        		alert("系统出错！");
        	}
        }
    });
});

function dealFormatter(value){
	var arr = value.split("；");
	var s = '';
	for(var i=0;i<arr.length;i++){
		if(s==''){
			s = arr[i];
		}else{
			s = s + '；' + '<br>' + arr[i] ;
		}
	}
	return s.substring(0, s.length);
}

function filling(){
	var ill = illName.split(",")[0];
 	$("#illName").html("初步诊断："+ill);
 	$("#symptomsArr").html(dealFormatter(symptomsArr));
 	if(assistantExam==""||assistantExam==undefined||assistantExam=="undefined"){
 		$("#assistantExam").html("无");
 	}else{
 		$("#assistantExam").html(assistantExam);
 	}
 	if(medicines==""||medicines==undefined||medicines=="undefined"){
 		$("#medicines").html("无");
 	}else{
 	    var marr = [];
 		json = JSON.parse(medicines); 
		for(var x=0;x<json.length;x++){
			var insertFlag = true;
			for(var j=0;j<json[x].length;j++){
				//alert(json[x]);
				if(json[x][j].flag==1){
					//alert(json[x][j].flag);
					if(json[x][j].skinTest==0){
						marr.push(json[x][j].medicine)
						var obj = {
							num : json[x][j].num,
							medicine : json[x][j].medicine
						};
						selectData.push(obj);
						insertFlag = false;
						break;
					}
				}else{
					insertFlag = false;
				}
			}
			if(insertFlag){
				marr.push(json[x][0].medicine);
				var obj = {
					num : json[x][0].num,
					medicine : json[x][0].medicine
				};
				selectData.push(obj);
			}
		}
 		$.ajax({
	        url: "./medicine/getMedicineDetail.spring",
	        data: {
				names : marr.join(",")
	        },
	        type: "POST",
	        dataType: 'json',
	        cache: false,
	        success: function (ret) {
	        	if(ret.resultCode==0){
	        		var mediArr = ret.content;
					var html = '';
				 		for(var i=0;i<mediArr.length;i++){
				 			if(mediArr[i].isComplete==0){
				 				html += '<p onclick="getMedicine(\''+mediArr[i].name+'\')" class="medicine">'+(i+1)+'、'+mediArr[i].name+':(未完善，请联系医生获取配药量)</p>';
				 				html += '<p style="border: 1px #efefef dashed;"></p>';
				 			}else{
				 				var dose = getDose(mediArr[i].medicalDBDetails);
				 				if(dose==0){
				 					html += '<p onclick="getMedicine(\''+mediArr[i].name+'\')" class="medicine">'+(i+1)+'、'+mediArr[i].name+':(未完善，请联系医生获取配药量)</p>';
				 					html += '<p style="border: 1px #efefef dashed;"></p>';
				 				}else{
					 				html += '<p onclick="getMedicine(\''+mediArr[i].name+'\')" class="medicine">'+(i+1)+'、'+mediArr[i].name+'&nbsp;&nbsp;&nbsp;'
					 				html += (mediArr[i].total==null?'':('规格:'+mediArr[i].total))+'&nbsp;&nbsp;&nbsp;'+(mediArr[i].frequency==null?'':mediArr[i].frequency)
					 				+'&nbsp;&nbsp;&nbsp;'+dose+mediArr[i].unit+'/次'+'&nbsp;&nbsp;&nbsp;'+mediArr[i].medicineUsage+'&nbsp;&nbsp;&nbsp;'
					 				+(mediArr[i].details==null?'':('用途:')+mediArr[i].details)+'</p>';
					 				html += '<p style="border: 1px #efefef dashed;"></p>';
				 				}
				 			}
				 		}
	        	}else{
	        		alert("本词条内容尚未完善");
	        	}
	        	$("#medicines").html(html);
	        }
		});

 	}
 	$("#scheme").html(scheme);
 	$("#suggest").html(suggest);
 	
 	//个人信息
 	$("#userName").html("姓名："+currentName);
 	$("#sex").html("性别："+(curSex==0?"男":"女"));
 	if(curage<30){
 		$("#age").html("年龄："+curage+"天");
 	}else if(curage>30 && curage<365){
 		var m = parseInt(curage/30);
 		var d = parseInt(curage%30);
 		$("#age").html("年龄："+m+"月"+d+"天");
 	}else if(curage>365){
 		var y = parseInt(curage/(12*30));
 		var md = parseInt(curage%(12*30));
 		var m = parseInt(md/30);
 		$("#age").html("年龄："+y+"岁"+m+"月");
 	}

 	var hei = bmi.my_height;
 	var weig = bmi.bodyWeight;
 	var BMI;
 	if(hei && wei){
 		BMI = returnBMI(hei,weig);
 		$("#hei").html("身高："+hei+"CM");
		$("#wei").html("体重："+weig+"KG");
		$("#bmi").html("BMI："+BMI.toFixed(2));
 	}
 	
 	$("#address").html("");
 	$("#createTime").html("就诊："+getSmpFormatDate(new Date(),true));
 	
 	//个人病史
 	$("#tabooMedicine").html("过敏史："+(isEmpty(tabooMedicine)==false?"未发现":tabooMedicine));
 	$("#pastHistorys").html("既往史："+(isEmpty(pastHistorys)==false?"未发现":pastHistorys));
}

function isEmpty(str){
	if(str=='' || str==null){
		return false;
	}else{
		return true;
	}
}

//minDose,maxDose,unitAge,startAge,endAge,unitWeight,startWeight,endWeight,multiple
function getDose(arr){
	if(arr.length==0){
		return 0;
	}
	for(var i=0;i<arr.length;i++){
		//先取体重
		if(arr[i].startWeight==0 && arr[i].endWeight==0){

		}else{
			if(bmi.bodyWeight>arr[i].startWeight && bmi.bodyWeight<arr[i].endWeight){
				return arr[i].minDose;
			}
		}
		
		//后取年龄
		if(arr[i].startAge==0 && arr[i].endAge==0){

		}else{
			if(curage>arr[i].startAge && curage<arr[i].endAge){
				return arr[i].minDose;
			}
		}
		

	}	
	return 0;
}

function getMedicine(medicine){
	$.ajax({
        url: "./medicine/getMedicineDetail.spring",
        data: {
			names : medicine
        },
        type: "POST",
        dataType: 'json',
        cache: false,
        success: function (ret) {
        	$("#medicineBox").show();
      		$("#mname").html(medicine);
      		var html = '';
      		var html1 = '';
        	if(ret.resultCode==0){
        		html = '<span style="margin-left: 35px;">替代药品：<br></span>';
        		var arr = deal(medicine);
        		if(arr.length==0){
      				html += '<span class="medi-l">无</span><br><br>';
      			}else{
	      			for(var i=0;i<arr.length;i++){
	      				html += '<span onclick="getMedicine1(\''+arr[i]+'\')" class="medi-s">'+arr[i]+'</span><br><br>';
	      			}
      			}
        		if(ret.content[0].id==0){
        			$("#details").html('<span">本词条内容尚未完善<span><br>'+html);
        		}else{
	      			html1 += '<span>皮试：<br></span><span class="medi-l">'+(ret.content[0].skinTest==1?"需要皮试":"不用皮试")+'</span><br>';
	      			/* html1 += '<span style="margin-left: 35px;">用途：<br></span><span class="medi-l">'+(ret.content[0].details==null?"无":ret.content[0].details)+'</span><br>';  */
					$("#details").html(html1+html);
				}
        	}else{
        		$("#details").html("本词条内容尚未完善");
        	}
        }
	});
}

function getMedicine1(medicine){
	$.ajax({
        url: "./medicine/getMedicineDetail.spring",
        data: {
			names : medicine
        },
        type: "POST",
        dataType: 'json',
        cache: false,
        success: function (ret) {
        	$("#medicineBox1").show();
	      	$("#mname1").html(medicine);
	      	var html = '';
        	if(ret.resultCode==0){
        		if(ret.content[0].id==0){
        			$("#details1").html("本词条内容尚未完善");
        		}else{
	      			html += '<span>用法：<br></span><span class="medi-l">'+(ret.content[0].medicineUsage==null?"无":ret.content[0].medicineUsage)+'</span><br>';
	      			html += '<span style="margin-left: 35px;">频次：<br></span><span class="medi-l">'+(ret.content[0].frequency==null?"无":ret.content[0].frequency)+'</span><br>';
	      			html += '<span style="margin-left: 35px;">皮试：<br></span><span class="medi-l">'+(ret.content[0].skinTest==1?"需要皮试":"不用皮试")+'</span><br>';
	      			/* html += '<span style="margin-left: 35px;">用途：<br></span><span class="medi-l">'+(ret.content[0].details==null?"无":ret.content[0].details)+'</span><br>'; */
					$("#details1").html(html);
				}
        	}else{
        		$("#details1").html("本词条内容尚未完善");
        	}
        }
	});
}

function returnNumInSelectData(medicine){
	for(var i=0;i<selectData.length;i++){
		if(selectData[i].medicine==medicine){
			return selectData[i].num;
		}
	}
}

function returnReplaceMedicine(medicine){
	var num = returnNumInSelectData(medicine);
	for(var i=0;i<json.length;i++){
		if(json[i][0].num==num){
			return json[i];
		}
	}
}

function deal(medicine){
	var arr = returnReplaceMedicine(medicine);
	var a = [];
	for(var i=0;i<arr.length;i++){
		if(arr[i].medicine!=medicine){
			a.push(arr[i].medicine);
		}
	}
	return a;
}

function OK(){
	$("#medicineBox").hide();
	$("#details").val('');
}

function OK1(){
	$("#medicineBox1").hide();
	$("#details1").val('');
}

//保存病历  
function toSave(){
	var $loadingToast = $('#loadingToast');
	if ($loadingToast.css('display') != 'none') {
		return;
	}
	$loadingToast.show();
	$.ajax({
		url : "./myCaseHistory/createMyCaseHistory",
  		data :{
  			userCode:userCode,
  			roleCode:roleCode,
  			illNames:illName,
  			symptoms:symptomsArr,
  			pictures:'',
            examinations:assistantExam,
            scheme:scheme,
            opinion:'',
            medication:medicines
  		},
	　　	type : "POST",
	  	dataType: 'json',
	  	cache: false,
	　　	success : function(data) {
	　　		if(data.resultCode==0){
				illnull();
	　　			setTimeout(function() {
	　　				$loadingToast.hide();
	　　				$("#toast").show();
	　　				setTimeout(function() {
	　　					$("#toast").hide();
	　　					/* window.location.href="./jsp/conditionsList.jsp"; */
						getCurrPoint();
	　　				}, 1000);
	　　			}, 1000);
	　　		}else{
	　　			setTimeout(function() {
	　　				$loadingToast.hide();
	　　			}, 1000);
				alert("病历保存失败，请稍后重试");
	　　		}
	　　	},
	});
}

function getCurrPoint(){
	var map = new BMap.Map("allmap");
	var point = new BMap.Point(116.331398,39.897445);
	map.centerAndZoom(point,12);
	
	var geolocation = new BMap.Geolocation();
	geolocation.getCurrentPosition(function(r){
		if(this.getStatus() == BMAP_STATUS_SUCCESS){
			var mk = new BMap.Marker(r.point);
			map.addOverlay(mk);
			map.panTo(r.point);
			var lng = r.point.lng;
			var lat = r.point.lat;
			if(lng=='' || lat==''){
				alert("获取当前位置失败");
				window.location.href="./jsp/conditionsList.jsp";
			}else{
				window.location.href="./jsp/findHospital.jsp?lng="+lng+"&lat="+lat;
			}
		}else {
/* 			alert('failed'+this.getStatus()); */
			alert("获取当前位置失败");
			window.location.href="./jsp/conditionsList.jsp";
		}        
	});
}

function illnull(){
	storage.setItem("illName", '');
	storage.setItem("medicines", '');
	storage.setItem("assistantExam", '');
	storage.setItem("symptomsArr", '');
	storage.setItem("scheme", '');
}

function noSave(){
	illnull();
	window.location.href="./jsp/conditionsList.jsp";
}

function showbmiBox(){
	$("#bmiBox").show();
}

function bmi_OK(){
	var my_height = $("#my_height").val();
	var bodyWeight = $("#bodyWeight").val();
	if(my_height=='' || bodyWeight==''){
		alert("请填写好信息");
	}else{
		$.ajax({
	        url: "./user/addBMIRecord.spring",
	        data: {
	        	userCode : userCode,
				roleCode : roleCode,
				bodyWeight : bodyWeight,
				height : my_height
	        },
	        type: "POST",
	        dataType: 'json',
	        cache: false,
	        success: function (ret) {
	        	if(ret.resultCode==0){
					alert("保存成功");
					bmi = {
						my_height : my_height,
						bodyWeight : bodyWeight
					};
					var BMI = returnBMI(my_height,bodyWeight);
					alert("你的BMI值："+BMI+",属于"+returnBMItxet(BMI));
					bmi_NO();
	        	}else{
	        		alert("保存失败");
	        		bmi_NO();
	        	}
	        }
		});		
	}
}

function returnBMI(height,bodyWeight){
	var m = height/100;
	return bodyWeight/m/m;
}

function returnBMItxet(value){
	if(value<18.5){
		return '偏瘦';
	}else if(value>18.5 && value<23.9){
		return '正常';
	}else if(value>24 && value<26.9){
		return '偏胖';
	}else if(value>27 && value<29.9){
		return '肥胖';
	}else if(value>=30 && value<40){
		return '重度肥胖';
	}else{
		return '极重度肥胖';
	}
}

function bmi_NO(){
	$("#my_height").val('');
	$("#bodyWeight").val('');
	$("#bmiBox").hide();
}
</script>
<body>
	<section id="result">
		<div class="note blue tip" >
			<span style="font-size: 20px;margin-left: -1em;color: #fff;">个人信息：</span>
			<p id="userName"></p>
			<p id="sex"></p>
			<p id="age"></p>
			<p id="hei"></p>
			<p id="wei"></p>
			<p id="bmi"></p>
			<p id="address"></p>
			<p id="createTime"></p>
		</div>
	</section>
	
	<section id="result">
		<div class="note blue tip" >
			<span style="font-size: 20px;margin-left: -1em;color: #fff;">个人病史：</span>
			<p id="tabooMedicine"></p>
			<p id="newIllHistory"></p>
			<p id="pastHistorys"></p>
			<p id="illName"></p>
		</div>
	</section>

<!-- 	<section id="result">
		<div class="note blue tip" >
			<span style="font-size: 20px;margin-left: -1em;color: #fff;">自诊结果：</span>
			<p id="illName"></p>
		</div>
	</section> -->
	
	<section id="syms">
		<div class="note blue tip" >
			<span style="font-size: 15px;margin-left: -1em;color: #fff;">根据输入选项得知您目前的症状：</span>
			<p id="symptomsArr"></p>
		</div>
	</section>
	<section id="syms">
		<div class="note blue tip" >
			<span style="font-size: 15px;margin-left: -1em;color: #fff;">我们系统给出的诊疗方案：</span>
			<p id="scheme"></p>
		</div>
	</section>
	<section id="useMedical">
		<div class="note blue tip">
			<span style="font-size: 15px;margin-left: -1em;color: #fff;">我们建议您添加以下辅助检查来进一步确诊：</span>
			<p id="assistantExam"></p>
		</div>
	</section>
	
	<section id="useMedical">
		<div class="note blue tip">
			<span style="font-size: 15px;margin-left: -1em;color: #fff;">根据你相关症状建议参考用药：</span>
			<p id="medicines"></p>
		</div>
	</section>
	
	<section id="useMedical" style="margin-bottom: 100px;">
		<div class="note blue tip">
			<span style="font-size: 15px;margin-left: -1em;color: #fff;">请参考我们的医用建议：</span>
			<p id="suggest"></p>
		</div>
	</section>
	<div class="weui_dialog_confirm" id="medicineBox" style="display: none;">
	    <div class="weui_mask"></div>
	    <div class="weui_dialog" >
	    	<div style="margin:15px 0;border-bottom: 1px solid #efefef;padding-bottom:8px;font-size: 10px;"><span class="mname" id="mname"></span>(药品说明)</div>
	    	<p id="details" style="height:300px; overflow:auto;text-indent: 2em;text-align: -webkit-auto !important;"></p>
	        <div class="weui_dialog_ft">
	            <a href="javascript:;" class="weui_btn_dialog primary" onclick="OK()">确定</a>
	        </div>
	    </div>
	</div>
	<div class="weui_dialog_confirm" id="medicineBox1" style="display: none;">
	    <div class="weui_mask"></div>
	    <div class="weui_dialog" >
	    	<div style="margin:15px 0;border-bottom: 1px solid #efefef;padding-bottom:8px;font-size: 10px;"><span class="mname" id="mname1"></span>(药品说明)</div>
	    	<p id="details1" style="height:300px; overflow:auto;text-indent: 2em;text-align: -webkit-auto !important;"></p>
	        <div class="weui_dialog_ft">
	            <a href="javascript:;" class="weui_btn_dialog primary" onclick="OK1()">确定</a>
	        </div>
	    </div>
	</div>
	<div class="weui_dialog_confirm" id="bmiBox" style="display: none;">
	    <div class="weui_mask"></div>
	    <div class="weui_dialog" style="height: auto!important;height: 160px;min-height: 160px;padding-top: 10px;border-radius: 8px;">
	    	<div style="margin:15px 0;border-bottom: 1px solid #efefef;padding-bottom:8px;font-size: 20px;">设置BMI值</div>
	    	<div style="font-size: 12px;">
	    		<label>身高：</label>
	    		<input id="my_height" class="form-control input_style" placeholder="请输入身高，单位CM"/>
	    	</div>
	    	<div style="font-size: 12px;">
	    		<label>体重：</label>
	    		<input id="bodyWeight" class="form-control input_style" placeholder="请输入体重，单位KG"/>
	    	</div>
	        <div class="weui_dialog_ft">
	            <a href="javascript:;" class="weui_btn_dialog primary" onclick="bmi_OK()">确定</a>
	            <a href="javascript:;" class="weui_btn_dialog primary" style="color: #ff0000 !important;" onclick="bmi_NO()">取消</a>
	        </div>
	    </div>
	</div>
	<div style="height: 1px" id="allmap"></div>
	<section>
		<div class="weui_extra_area" style="height:45px;background-color: #5CC573;">
			<ul>
				<li style="width: 50%;padding: 13px;height: 45px;background-color: #e1e2f5" onclick="noSave();">我不想保存</li>
				<li style="padding: 13px;background-color: #5CC573;height: 45px;width: 30%;" onclick="toSave();">保存</li>
			</ul>
		</div>	
	</section>
		<div class="weui_dialog_confirm" id="disclaimerBox" style="display: none;">
	    <div class="weui_mask"></div>
	    <div class="weui_dialog" >
	    	<div style="margin:15px 0;border-bottom: 1px solid #efefef;padding-bottom:8px;font-size: 20px;">郑重承诺</div>
	    	<p style="color: #000;font-size: 13px;">我已经阅读并遵守<a>《<!-- 蒙估大夫 -->免责声明》</a></p>
	        <div class="weui_dialog_ft">
	            <a href="javascript:;" class="weui_btn_dialog primary" onclick="Disclaimer_OK()">确定</a>
	            <a href="javascript:;" class="weui_btn_dialog primary" style="color: #ff0000 !important;" onclick="Disclaimer_ON()">取消</a>
	        </div>
	    </div>
	</div>
	
	<!--     toast开始 -->
        <div id="loadingToast" class="weui_loading_toast" style="display: none;">
				<div class="weui_mask_transparent"></div>
				<div class="weui_toast">
					<div class="weui_loading">
						<div class="weui_loading_leaf weui_loading_leaf_0"></div>
						<div class="weui_loading_leaf weui_loading_leaf_1"></div>
						<div class="weui_loading_leaf weui_loading_leaf_2"></div>
						<div class="weui_loading_leaf weui_loading_leaf_3"></div>
						<div class="weui_loading_leaf weui_loading_leaf_4"></div>
						<div class="weui_loading_leaf weui_loading_leaf_5"></div>
						<div class="weui_loading_leaf weui_loading_leaf_6"></div>
						<div class="weui_loading_leaf weui_loading_leaf_7"></div>
						<div class="weui_loading_leaf weui_loading_leaf_8"></div>
						<div class="weui_loading_leaf weui_loading_leaf_9"></div>
						<div class="weui_loading_leaf weui_loading_leaf_10"></div>
						<div class="weui_loading_leaf weui_loading_leaf_11"></div>
					</div>
					<p class="weui_toast_content">保存中...</p>
				</div>
			</div>
			
			<div id="toast" style="display: none;">
        <div class="weui_mask_transparent"></div>
        <div class="weui_toast">
            <i class="weui_icon_toast"></i>
            <p class="weui_toast_content" id="info">保存成功</p>
        </div>
    </div>
<!--     toast结束 -->

</body>
</html>
